import Vue from 'vue'
import Router from 'vue-router'

import HelloWorld from '@/views/helloWord/helloWord.vue'
import one from '@/views/helloWord/one.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/hello',
      name: 'HelloWorld',
      component: HelloWorld,
      children: [
        {
          path: 'one',
          name: 'one',
          component: one
        }
      ]
    }
  ]
})
